<div class="items view">
<ul class="viewitems">
	<li>
		<dl><?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>
			<dd<?php if ($i++ % 2 == 0) echo $class;?>>
				<?php echo $item['Item']['name']; ?>
				&nbsp;
			</dd>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Description'); ?></dt>
			<dd<?php if ($i++ % 2 == 0) echo $class;?>>
				<?php echo $item['Item']['description']; ?>
				&nbsp;
			</dd>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('MarketPrice'); ?></dt>
			<dd<?php if ($i++ % 2 == 0) echo $class;?>>
				<?php echo $item['Item']['marketPrice']; ?>
				&nbsp;
			</dd>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Category'); ?></dt>
			<dd<?php if ($i++ % 2 == 0) echo $class;?>>
				<?php echo $item['Category']['name']; ?>
				&nbsp;
			</dd>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tags'); ?></dt>
			<?php if (!empty($item['Tag'])):
				foreach ($item['Tag'] as $tag):?>
					<dd> <?php echo $tag['name'];?> </dd>
				<?php endforeach; ?>
			<?php endif; ?>
			
		</dl>

 	</li>
 	<li>
	<?php if (!empty($item['Photo'])):?>
		<table class="itemsTable">
		<?php
			foreach ($item['Photo'] as $photo):
			?>
			<tr>
				<td><?php echo $html->image('photos/home/'.$photo['urlPhoto'], array('width' => 100, 'height' => 150)); ?></td>
			</tr>
		<?php endforeach; ?>
		</table>
	<?php endif; ?>
	
</li>
</ul>
</div>
